import { http } from '@/utils'

const Person = 'person/'

export function getPointShare(data = {}) {
  return http.get(Person + 'point/share', {
    params: data
  })
}

export function uploadIcon(data = {}) {
  return http.post(Person + 'point/icon', data)
}

export function uploadPhoto(data = {}) {
  return http.post(Person + 'point/photo', data)
}